<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s" %>
<div id="page">
  <div id="top">
    <div id="topbar">
     <span class="topbar_left"> 
     <s:if test="#session.username!=null">
	     <span class="span_username"> 
	      <a class="a_topmenu"  href="#"> <img class="top_face .left" src="images/9.jpg"/> <s:property value="#session.username" /> </a>
	      </span> <a href="#" >退出</a>
	      <i class="left">&nbsp;</i> 
	      <a href="#" >设置</a>
	       <a href="#" >任务(2)</a> 
	       <a class="new_topbar_mes" href="#" >消息 <span class="green" >(3)</span> </a> 
      </s:if>
      <s:else>
          <a href="#" >登录</a>
	      <i class="left">&nbsp;</i> 
	      <a href="#" >注册</a>
      </s:else>
    </span>
      
      
      <ul class="topbar_right right">
        <li> <a href="#">www</a> </li>
        <li> <a href="#">www</a> </li>
        <li> <a href="#">www</a> </li>
        <li> <a href="#">帮助</a> </li>
      </ul>
    </div>
  </div>
  <div id="header">
    <div id="topmiddle" >
      <div class="topmiddle_left left"> <a class="aa" href="#"> <img src="images/logo.png"/> </a> </div>
      <div class="topmiddle_right right"> <a href="#"> <img  src="images/php100guangpan.jpg" /> </a> </div>
    </div>
    <div id="topdown_nav">
      <div id="topnav_left">
        <ul>
        <s:iterator value="navbars"  var="nav">
        <s:if test="#nav.first">
          <li class="nav_current">
          <a href="<s:property value="#nav.getNavurl()"/>">
          <s:property value="#nav.getNavtitle()" /></a>
          </li>
        </s:if>
        <s:else>
        <li><a href="s:property value="#nav.getNavurl()"/>">
        <s:property value="#nav.getNavtitle()" /></a>
        </li>
        </s:else>
	    </s:iterator>
	 
        </ul>
      </div>
      <div id="topnav_right"> <a class="right s_g" href="#">高级</a>
        <form method="post" action="#">
          <input id="" class="s_text" type="text" />
          <input id="" class="s_btn" type="button" />
        </form>
      </div>
    </div>
  </div>
  <!--end header-->
  
  <div class="index_info">
    <div class="index_info_left left"> 
	    <span> 
	    <a href="#">我的主题</a>
	    <a href="#">我的回复</a> 
	    <a href="#">我的收藏</a> 
	    <a href="#">好友近况</a> 
	    </span> 
   </div>
    <div class="index_info_right right"> <span class="right"> <a href="#">最新帖子</a> <a href="#">精华区</a> <a href="#">会员列表</a> <a href="#">统计排行</a> </span> </div>
  </div>
  <!--end index_info-->